package a05_mediator;

public class ConcreteMediator extends Mediator {

	public ConcreteMediator(AbstractColleague ca, AbstractColleague cb) {
		super(ca, cb);
	}

	@Override
	public void AeffectB() {
		this.getColleagueB().setName(this.getColleagueA().getName() + "_m");
	}

	@Override
	public void BeffactA() {
		this.getColleagueA().setName(this.getColleagueB().getName() + "_m");

	}

}
